home *** CD-ROM | disk | FTP | other *** search
/ Laboratorio Interattivo Deagostini / laboratorio interattivo deagostini.bin / swf / 197.swf / scripts / frame_1 / PlaceObject2_54_1 / CLIPACTIONRECORD onClipEvent(load).as
Text File  |  2003-01-05  |  419b  |  15 lines

  1. onClipEvent(load){
  2.    Ycur1 = this.barratot.barra.scroll._y;
  3.    Yclip1 = this.esercizio._y;
  4.    hScroll = this.barratot.barra.scroll._height;
  5.    hBarra = this.barratot.barra._height;
  6.    travelRange = hBarra - hScroll * 3;
  7.    HMaschera = 400;
  8.    differenzaH = this.esercizio._height - HMaschera;
  9.    rapporto = differenzaH / travelRange;
  10.    if(0 >= differenzaH)
  11.    {
  12.       this.barratot._visible = 0;
  13.    }
  14. }
  15.